Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id VAA10336; for ; Wed, 14 Jun 1995 21:39:44 -0400
Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id UAA01736 for amos-out; Wed, 14 Jun 1995 20:00:42 -0400
Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id UAA01731 for <amos-list@svcs1.digex.net>; Wed, 14 Jun 1995 20:00:41 -0400
Received: from fsa.cpsc.ucalgary.ca (fsa.cpsc.ucalgary.ca [136.159.2.1]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id UAA01033; for <amos-list@access.digex.net> ; Wed, 14 Jun 1995 20:00:40 -0400
Received: from fsh.cpsc.ucalgary.ca (fsh.cpsc.ucalgary.ca [136.159.2.8])
by fsa.cpsc.ucalgary.ca (1.8) id <RAA21863@fsa.cpsc.ucalgary.ca>;
Wed, 14 Jun 1995 17:56:19 -0600
From: currie@cpsc.ucalgary.ca (Robert Currie)
Received: by fsh.cpsc.ucalgary.ca (1.2; from currie@localhost)
id <RAA16766@fsh.cpsc.ucalgary.ca>; Wed, 14 Jun 1995 17:56:21 -0600
To: achurch@dragon.mbhs.edu, amos-list@access.digex.net
Subject: Re: Music help
Status: RO
X-Status:
--Andy
But isn't what happens when you use any chunk of memory on the Amiga,
is that it first looks on the stac
k and sees if there is any chunk large enough to fit what you require. If there
is then it divides that memory chunk into what you need and what is left over
(unless it is exactly the size you need). So if I loaded a 350K music bank,
Amos would look on the stack and say it found a 400k chunk, then it would assign350k to the bank and put the extra 50k back on the stack. Then lets say I load
a 250k music bank, the 350k gets put back onto the stack, the memory manager
looks for a 250k chunk and finds a 350k chunk which it takes 250k of and dumps
100k onto the stack...thereby fragmenting it. All my graphics and such are beingdeclared at the beginning of my program except for the music because they are
all of different lengths. Therefor I am left with my problem.
If this isn't the way it works then please let me know how exactly it
does work because this seems to be my only major problem right now.